package com.pubinfo.passbook.api.vat;

import com.alibaba.fastjson.JSONObject;
import com.mashape.unirest.http.exceptions.UnirestException;
import com.pubinfo.passbook.common.model.dto.financial.InvoiceResult;
import com.pubinfo.passbook.common.model.dto.financial.QueryDetailsParam;
import com.pubinfo.passbook.common.model.dto.financial.Result;
import com.pubinfo.passbook.common.model.dto.witeoff.MedicineOnJobOrRetireDTO;
import com.pubinfo.passbook.common.model.vo.base.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface ForwardVATService {
  JsonResult<InvoiceResult<Result>> detailTPassbook(String eInvoiceId);
  InvoiceResult<Result> detailTPassbook(String[] eInvoiceIds);
  JsonResult<String> medicineOnJobAutoCreateWriteoff(MedicineOnJobOrRetireDTO jobDTO);
  String getWriteoffBaseDataItem(String xml);
  JsonResult<Boolean> changeStatusTask(String id);
  JsonResult<String> runTask(String id);
  JsonResult<String> removeBatchTask(String[] ids);
  
  InvoiceResult<Object> cancelLockedList(String[] eInvoiceIds);
  
  JSONObject detailsByParam(QueryDetailsParam detailsParam) throws UnirestException;
  
  
  JSONObject QueryTwiteoffInstance() throws UnirestException;
}
